package Ontologies;

import jade.content.AgentAction;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: jiaka_000
 * Date: 13-5-11
 * Time: 11:30
 * To change this template use File | Settings | File Templates.
 */
public class GetAllTreeList implements AgentAction {
    private List<TreeWithPrice> treesList;

    public GetAllTreeList() {
        treesList=new ArrayList<TreeWithPrice>();
        TreeWithPrice tree=new TreeWithPrice("Musk Mallow","Abelmoschus moschatus tuberosus","Bush foods Australia",(float)12.9,-1);
        treesList.add(tree);
        tree=new TreeWithPrice("BURDEKIN PLUM","Pleiogynium timorense","Bush foods Australia",(float)14.9,-1);
        treesList.add(tree);
        tree=new TreeWithPrice("Blueberry","Vaccinium spp","Berries, Vines and Climbers",(float)14.9,-1);
        treesList.add(tree);
        tree=new TreeWithPrice("Acerola Cherry - Florida Sweet","Malpighia emarginata","Tropical Fruit Trees",(float)19.75,-1);
        treesList.add(tree);

    }

    public GetAllTreeList(List<TreeWithPrice> treesList) {
        this.treesList = treesList;
    }

    public List<TreeWithPrice> getTreesList() {
        return treesList;
    }

    public void setTreesList(List<TreeWithPrice> treesList) {
        this.treesList = treesList;
    }
}
